package com.example.emos.wx.db.mapper;

import com.example.emos.wx.db.pojo.TbMeeting;
import org.apache.ibatis.annotations.Mapper;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;

/**
* @author ShowTimE
* @description 针对表【tb_meeting(会议表)】的数据库操作Mapper
* @Entity com.example.emos.wx.db.pojo.TbMeeting
*/
@Mapper
public interface TbMeetingMapper {

    Integer insertMeeting(TbMeeting meeting);

    ArrayList<HashMap> searchMeetingByPage(HashMap hashMap);

    HashMap searchMeetingById(Integer id);

    ArrayList<HashMap> searchMeetingMembers(Integer id);

    Boolean searchMeetingMembersInSameDept(String meetingUuid);

    Integer updateMeetingInstanceId(HashMap hashMap);

    Integer updateMeeting(HashMap hashMap);

    Integer deleteMeetingById(Integer id);

    List<String> searchUserMeetingInMonth(HashMap hashMap);
}
